﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Manage/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<QianBuo.Lottery.Web.Areas.Manage.Models.Lottery.RankModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
添加等级设定
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <%=Html.ActionLink(">>新增等级", "AddRank", new { N = true }, new { @class = "a_blue" })%>
        <table class="table" width="100%">
            <tr class="th">
                <th>
                    名称
                </th>
                <th>
                    操作
                </th>
            </tr>
            <% foreach (var item in  Model.Types)%>
            <% { %>
            <tr>
                <td>
                    等级：<%=item.ran%>&nbsp;&nbsp;&nbsp;所需经验：<%=item.exper%>
                </td>
                <td>
                    <%=Html.ActionLink("编辑", "AddRank", new { item.id  }, new { @class = "a_blue" })%>
                    <%=Html.ActionLink("删除", "DelRank", new { item.id }, new { @class="a_blue",onclick="return confirm('您确定要删除吗？\\r\\n如果有达到该等级删除将失败。')"})%>
                </td>
            </tr>
            <% } %>
        </table>
    </div>
</asp:Content>
